<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta content="email=no" name="format-detection">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>提现</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!--mui-->
    <link rel="stylesheet" href="lib/mui.css"/>
    <script src="lib/mui.js"></script>

    <!--引入初始化样式-->
    <link rel="stylesheet" href="css/reset.css"/>

    <!--引入公共样式-->
    <link rel="stylesheet" href="css/global.css"/>

    <script src="js/jquery-1.12.2.min.js"></script>
    <script src="js/global.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>

<div class="login">
    <div class="interface01">
        <div class="w" style="font-size: 0;">
            <img class="jb" src="./images/jb.png" alt="">
            <span class="hb">折现余额</span>
        </div>
        <p class="terms">900.0</p>
        <div class="ti1">
            <img class="all-ti" src="./images/all-ti.png" alt="">
        </div>
        <div class="w xj" style="font-size: 0;">
            <img class="xjb" src="./images/xjb.png" alt="">
            <span class="hb">折现金额</span>
        </div>
        <div class="w">
            <span class="symbol">¥</span>
            <input typeof="num" class="figure" type="text" maxlength="5" value="">
        </div>
        <div class="ti">
            <img id='toastBtn' class="all-ti2" src="./images/now-ti.png" alt="">
        </div>
        <p class="pour">每日21点可提到您的微信账户</p>
    </div>
    <div id="tc" class="mui-backdrop">
        <img class="tk" src="./images/tan-kuang.png" alt="">
        <p class="wz">请填写完整提现资料</p>
        <img class="btn-qr" src="./images/que-ren.png" alt="">
        <div class="btn-close"></div>
    </div>
</div>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-1.12.2.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>

</body>
<script>
    (function (doc, win) {
        var docEl = doc.documentElement,
            resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
            recalc = function () {
                var clientWidth = docEl.clientWidth;
                if (!clientWidth) return;
                if(clientWidth>=750){
                    docEl.style.fontSize = '100px';
                }else{
                    docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
                }
            };

        if (!doc.addEventListener) return;
        win.addEventListener(resizeEvt, recalc, false);
        doc.addEventListener('DOMContentLoaded', recalc, false);
    })(document, window);
    var terms = document.getElementsByClassName("terms");
    console.log(terms[0].textContent);
    //mui初始化
    mui.init({
        swipeBack: true //启用右滑关闭功能
    });
    document.getElementById("toastBtn").addEventListener('tap', function() {
        mui.toast('提货成功!');
    });
    var ti = document.getElementsByClassName("ti");
    ti[0].onclick = function () {
        window.setTimeout(function(){
            window.location.href = "./index.html"
        },1500);
    }
</script>
</html>